package main

import "fmt"

type Cat struct{}

func (c Cat) Say() string {
	return "喵喵喵"
}

type Dog struct{}

func (d Dog) Say() string {
	return "汪汪汪"
}

func main() {
	c := Cat{}
	fmt.Println("猫:", c.Say())

	d := Dog{}
	fmt.Println("狗:", d.Say())
}
